import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import VideoPlayer from 'vue-video-player';
import 'video.js/dist/video-js.css';
import 'vue-video-player/src/custom-theme.css';
import videojs from 'video.js';
window.videojs = videojs;
require('videojs-contrib-hls/dist/videojs-contrib-hls.js');
 
Vue.use(VideoPlayer);

import './permission' // permission control
import './icons'
import './styles/index.scss'
import 'normalize.css/normalize.css' // a modern alternative to CSS resets

import { getDictList } from "@/api/admin/dict";
import { buttomIsDisabled } from "@/utils/auth";


// 挂载全局方法
Vue.prototype.getDictList = getDictList

Vue.prototype.buttomIsDisabled = buttomIsDisabled



Vue.use(Element);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
